ShaderVariablesLayout.calcAlignment

Calculates the shader variables alignment based on the packFunc passed at startup. Those functions are based on the shader vendor and version. Align should be called always when there is a change on the layout.

class ShaderVariablesLayout
final
void
calcAlignment
()

Meta